//
//  ZHGIFToastManager.h
//  ZHToastKit
//
//  Created by chun.chen on 2019/12/16.
//  gif加载

#import <Foundation/Foundation.h>
#import "ZHToastManager.h"

NS_ASSUME_NONNULL_BEGIN

@interface ZHGIFToastManager : NSObject

/// 显示默认gif动画hud [window 上]
+ (MBProgressHUD *)showGifHud;

/// 显示gif动画hud
/// @param gifName 指定的gif图片名称
+ (MBProgressHUD *)showGifHud:(NSString * _Nullable)gifName;

/// 显示gif动画hud
/// @param gifName 指定的gif图片名称
/// @param view 显示在对应的view上
+ (MBProgressHUD *)showGifHud:(NSString * _Nullable)gifName toView:(UIView * _Nullable)view;

/// 隐藏hud
+ (void)hideHud;

/// 隐藏指定view上的hud
/// @param view view description
+ (void)hideHud:(UIView * _Nullable)view;

@end

NS_ASSUME_NONNULL_END
